#include <iostream>
class Exception
{
public:
    Exception(const std::string& str):error(str)
    {

    }
    std::string what()
    {
        return error;
    }
private:
    std::string error;
};